// 导入base.less
@import url(base.less);

// 声明基准值变量
@baseSize: 3.75vw;

.suspension {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 (20/@baseSize) 2.667vw rgba(0 0 0/ 10%);

    // logo
    .m-navdar {
        padding: 0 (12/@baseSize) 0 (18/@baseSize);
        display: flex;
        justify-content: space-between;
        height: (44/@baseSize);
        align-items: center;

        .logo {
            i {
                font-size: (28/@baseSize);
                color: #fb7299;
            }
        }

        .right {
            display: flex;

            .face {
                overflow: hidden;
                width: (24/@baseSize);
                height: (24/@baseSize);
                border-radius: 50%;
                margin: 0 (20/@baseSize);
            }

            .app-btn {
                width: (72/@baseSize);
                height: (24/@baseSize);
            }

            .search {
                color: #ccc;

                i {
                    font-size: (22/@baseSize);
                }
            }
        }
    }

    // 频道模块
    .channel-menu {
        position: relative;
        display: flex;
        height: (40/@baseSize);
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #e7e7e7;

        // tabs
        .tabs {
            overflow: hidden;
            flex: 1;

            .tabs-list {
                display: flex;

                a {
                    padding: 0 (16/@baseSize);
                    // 不需要文字换行
                    white-space: nowrap;
                    font-size: (14/@baseSize);
                    height: (40/@baseSize);
                    line-height: (40/@baseSize);
                }

                .line {
                    position: absolute;
                    left: (16/@baseSize);
                    bottom: 0;
                    width: (28/@baseSize);
                    height: (2/@baseSize);
                    background-color: #fb7299;
                }
            }
        }

        // after
        .after {
            // position: relative;
            width: (39/@baseSize);
            height: (39/@baseSize);
            text-align: center;
            line-height: (40/@baseSize);
            background-color: #fff;
            color: #ccc;
            // border-bottom: 1px solid #e7e7e7;

            i {
                font-size: (20/@baseSize);
            }
        }
    }
}

// 主体内容模块
.m-home {
    padding: (85/@baseSize) (5/@baseSize) 0;

    .video-list {
        display: flex;
        // 换行
        flex-wrap: wrap;

        .video-item {
            width: 50%;
            padding: (8/@baseSize) (5/@baseSize);

            // flex: 50%;
            .card {
                height: (97/@baseSize);
                position: relative;

                .count {
                    position: absolute;
                    width: 100%;
                    left: 0;
                    bottom: 0;
                    height: (27/@baseSize);
                    background-image: linear-gradient(transparent, rgba(0, 0, 0, .5));
                    padding: 0 (5/@baseSize);
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    // line-height: (24/@baseSize);
                    color: #fff;
                    font-size: (12/@baseSize);
                }
            }

            .title {
                margin-top: (5/@baseSize);
                font-size: (12/@baseSize);
            }

        }
    }
}

// 底部模块
.app {
    position: fixed;
    left: 0;
    bottom: (30/@baseSize);
    width: 100%;
    height: (38/@baseSize);


    .btn-app {
        margin: 0 (20/@baseSize);
        height: (38/@baseSize);
        background-color: #fb7299;
        border-radius: (19/@baseSize);
        text-align: center;
        line-height: (38/@baseSize);
        font-size: (14/@baseSize);
        color: #fff;
        box-shadow: 0 (20/@baseSize) 2.667vw rgba(0 0 0/ 20%);

        i {
            padding-right: (10/@baseSize);
        }
    }
}